package upcasting;

public class UpCastingMain {
	
	public static void main(String[] args) {
		
		Animal a = new Dog();
		
		a.cry();
		a.eat();
//		a.run();	// ERROR
		
	}
	
}
